Skip to main content

All Questions

0votes
1answer
211views

Remove certain words and set word at end of string in files

I have a bunch of files that contain strings similar to: Get<1>(abc) Get<2>(xyz) How can I recursively search for all files with the above pattern and remove everything before the first '(...
aWLW's user avatar
  • 133
3votes
3answers
23kviews

How to get group results using grep?

How would I get this output: Found value: This order was placed for QT3000! OK? or Found value: This order was placed for QT300 or Found value: 0 using line.txt and pattern.txt as below: [nsaunders@...
Nicholas Saunders's user avatar

close